package com.qdevelop.control.action;

import org.apache.struts2.ServletActionContext;

import com.qdevelop.model.handler.FunctionTitleHandler;

public class FunctionTitleAction extends QDevelopBaseAction{
	
	private static final long serialVersionUID = 4890115635774015668L;
	
	private String title;
	
	public String execute() throws Exception {
		title = FunctionTitleHandler.getInstance().getFunctionTitle(ServletActionContext.getRequest().getParameter("param"));
		return SUCCESS;
	}
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
}
